<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/taglibs.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看消息</title>
<script type="text/javascript" src="${ctx}/pages/admin/fileattch/fileattch.js"></script>
<script type="text/javascript" src="${ctx}/scripts/uploadify/jquery-1.4.2.min.js"></script>
<LINK href="${ctx}/pages/admin/fileattc/fileattch.css" type='text/css' rel='stylesheet'>
<LINK href="${ctx}/styles/style.css" type='text/css' rel='stylesheet'>
<style type="text/css">
	.msgInput{
		border:0px;
		border-bottom: 1px dotted #000;
		width: 690px;
	}
	.mailhead{
		background-color: #F6F9FC;
		border-bottom: 1px solid #D0D0D0;
		padding-left:20px;
		height: 100px;
		line-height: 20px;
	}
	.fileattch{
		background-color: #F6F9FC;
		border-bottom: 1px solid #D0D0D0;
		padding: 5px 20px;
	}
	.subject{
		color: gray;
		font-size: 12px; 
		font-weight: normal;
		padding: 5px 0px;
	}
	.mailbody{
		margin: 10px 10px;
	}
</style>
</head>
<body>
<div class="x-panel-header">站内短信-查看</div>
<table align="center" width="100%" cellpadding="0" cellspacing="0">
  <tr>
    <td class="x-toolbar" style="padding:5px 20px;">
    	<a href="newMsg.do">新建</a>
    	<a href="newMsg.do?receiverIds=${model.sender.id}">回复</a>&nbsp;&nbsp;&nbsp;&nbsp;
    	<!-- 
    	<a href="receiveDel.do?model.id=${model.id}">删除</a>&nbsp;&nbsp;&nbsp;&nbsp;
    	 -->
    </td>
  </tr>
   <tr>
    <td class="mailhead">
      <div class="subject">发信人：${model.sender.name}</div>
      <div class="subject">时　间：<s:date name="model.createTime" format="yyyy年MM月dd日  HH:mm:ss"></s:date></div>
      <div class="subject">收信人：${model.receiver.name}</div>
    </td>
  </tr>
   <tr>
    <td class="fileattch">
      <div id="systop_file_list"></div>
    </td>
  </tr>
  <tr>
    <td>
	    <div class="mailbody">${model.content}</div>
    </td>
  </tr>
 </table>
 <script type="text/javascript">
	viewFileAttchList('${model.fileIds}');
</script>
</body>
</html>